package com.lzy.cloud.goods.constant;

public class GoodsParam {

    /**
     * 1-房车销售;2-房车租赁
     */
    public final static int CAR_SALE = 1;
    public final static int CAR_RENT = 2;

    /**
     * 1-通用参数;2-自定义参数
     */
    public final static Integer PARAM_COMMON = 1;
    public final static Integer PARAM_CUSTOM = 2;

    /**
     * 房车租赁排序
     */
    //距离,升序
    public final static Integer CAR_SALE_SORT_DISTANCE = 1;
    //价格,升序
    public final static Integer CAR_SALE_SORT_PRICE = 2;
    //价格,降序
    public final static Integer CAR_SALE_SORT_PRICEDESC= 3;
    //点赞,降序
    public final static Integer CAR_SALE_SORT_PRAISEDESC = 4;
    //关注,降序
    public final static Integer CAR_SALE_SORT_CONCERNDESC = 5;
    /**
     * 商家端
     */
    //租赁量升序
    public final static Integer CAR_SALE_SORT_RENTNUM = 6;
    //租赁量降序
    public final static Integer CAR_SALE_SORT_RENTNUMDESC = 7;
    //保险剩余升序
    public final static Integer CAR_SALE_SORT_INSURE = 8;
    //保险剩余降序
    public final static Integer CAR_SALE_SORT_INSUREDESC = 9;
    //创建时间降序
    public final static Integer CAR_SALE_SORT_CREATEDESC = 0;

    /**
     * 小时档期设置表-资源类型
     */
    // 房车租赁
    public final static Integer GOODS_HOUR_CALENDAR_SOURCE_TYPE_CAR_RENT = 1;

    /**
     * 车辆档期-维护类型(1-维修，2-保养，3-自用，4-订单，5-可租)
     */
    // 维修
    public final static Integer GOODS_CAR_CALENDAR_TYPE_REPAIR = 1;
    // 保养
    public final static Integer GOODS_CAR_CALENDAR_TYPE_MAINTAIN = 2;
    // 自用
    public final static Integer GOODS_CAR_CALENDAR_TYPE_SELF_USE = 3;
    // 订单
    public final static Integer GOODS_CAR_CALENDAR_TYPE_ORDER = 4;
    // 可租
    public final static Integer GOODS_CAR_CALENDAR_TYPE_RENT = 5;

}
